#ifndef TESTWIDGET_H
#define TESTWIDGET_H

#include <QWidget>
#include "globalconfig.h"
#include <QTreeWidget>
#include <QTreeWidgetItem>
#include <QStringList>
#include <QDebug>

namespace Ui {
class TestWidget;
}

class TestWidget : public QWidget
{
    Q_OBJECT

public:
    explicit TestWidget(QWidget *parent = 0);
    ~TestWidget();
    void initWidget();
signals:
    void valueChange(uint comidIndex, int index, unsigned long value);
public slots:
    void slot_valueChange(QTreeWidgetItem *item, int column);
    void slot_itemDoubleClicked(QTreeWidgetItem *item, int column);
    void slot_itemSelectionChanged();
private:
    Ui::TestWidget *ui;
    QTreeWidget *newTree;
    QTreeWidgetItem *m_item;
    int m_column;
};

#endif // TESTWIDGET_H
